import 'package:flutter/material.dart';
import 'package:leader_help/utils/util.dart';

class PageSubtitleText extends StatelessWidget {
  const PageSubtitleText({
    Key? key,
    required this.title,
    this.height,
  }) : super(key: key);
  final String title;
  final double? height;
  @override
  Widget build(BuildContext context) {
    return Container(
      alignment: Alignment.center,
      color: ColorsUtil.bg,
      height: height,
      child: Text(
        title,
        style: pfSCStyle(
          color: ColorsUtil.green,
          fontSize: 16.sp,
        ),
      ),
    );
  }
}
